package unit.blog;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.wo2record.blog.service.ArticleCommentService;

public class ArticleCommentTestUtil {
	public static ArticleCommentService getArticleService(){
		ApplicationContext ctx = new ClassPathXmlApplicationContext("app-context.xml");
		ArticleCommentService articleCommentService = (ArticleCommentService)ctx.getBean("articleCommentService");
		return articleCommentService;
	}
}
